<?php

require_once './inc/functions.inc.php';

if (isset($_GET['highlight'])) {
	print highlightText($_GET['highlight']);
}

if (isset($_GET['error'])) { 
	print errorText($_GET['error']);
}

if (isset($highlights)) { 
	foreach ($highlights as $text) {
		print "\n\n\n";
		print highlightText($text);
		print "\n\n\n";
	}
}

if (isset($errors)) { 
	foreach ($errors as $text) {
		print errorText($text);
	}
}

?>